package com.dj.mingkong.admin.biz.controller.music.vo.request;

import com.dj.mingkong.common.infrastructure.base.dto.query.QueryVo;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.PositiveOrZero;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 音乐人列表查询参数
 *
 * @author zenglonghui
 * @date: 2022/7/22 15:11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class MusicianQueryVo extends QueryVo {
    private Long id;
    /**
     * 艺名
     */
    @Size(max = 18, message = "stageName invalid")
    private String stageName;

    /**
     * 性别 0未知 1男 2女
     */
    private String sex;

    /**
     * 年龄
     */
    @Max(value = 100, message = "age invalid")
    @Min(value = 1, message = "age invalid")
    private Integer age;

    /**
     * 状态 0待审核 1审核中 2待修改 3审核通过 4审核不通过 5投诉
     */
    @Max(value = 5, message = "status invalid")
    @Min(value = 0, message = "status invalid")
    @PositiveOrZero(message = "genStatus invalid")
    private Integer status;

    private String genStatus;

    private String sort;
}
